class car():
    def __init__(self,make,model,year):
        self.make = make
        self.model = model
        self.year = year
        self.odometer_reading = 0

    def description(self):
        description_car = str(self.year) + ' ' + self.make + ' '+ self.model
        return description_car.title()

    def resding(self):
        print("This car has " + str(self.odometer_reading)
              + " miles on it.")
    def last_car(self,miles):
        if miles >= self.odometer_reading:
            self.odometer_reading = miles
        else:
            print("You can't roll back an odometer!")
    def increment_odometer(self,miless):
        self.odometer_reading += miless

class ElectricCar(car):
    def __init__(self,make,model,year):
        super().__init__(make,model,year)
my_car = ElectricCar("Aodi","ytur",2016)
print(my_car.description())